package edu.zut.hb.ambition.doctor.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import edu.zut.hb.ambition.base.domain.BaseEntity;
@Table(name = "Doctor")
@Entity
public class Doctor extends BaseEntity<Long> {
    private static final long serialVersionUID = -4376674977047164142L;

    @Column(name = "name")
    private String name;

    @Column(name = "num")
    private int num;

    @Column(name = "status")
    private boolean status;

//    @ManyToOne
//    @JoinColumn(name = "attendanceGroupId")
//    AttendanceGroup attendanceGroup;

    public static long getSerialVersionUID() {
        return serialVersionUID;


    }

    public String getName() {
        return name;
    }

    //public AttendanceGroup getAttendanceGroup() { return attendanceGroup; }

    public void setName(String name) {
        this.name = name;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    // public void setAttendanceGroup(AttendanceGroup attendanceGroup) {
    //   this.attendance=attendance;
    //}

    public boolean isStatus() {
        return status;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }
}

